<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/4/13 0013 19:29
 */


// 这是模板编辑页面的保存页面


$file_path=iconv( "utf-8","gb2312//IGNORE",$_POST['file']);
$content = $_POST['content'];
file_put_contents($file_path, $content);



echo '保存成功';


